﻿using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using FutureApp.Authorization.Roles;

namespace FutureApp.Roles.Dto
{
    /// <summary>
    /// 角色实体DTO
    /// </summary>
    [AutoMapFrom(typeof(Role))]
    public class RoleEntityDto : EntityDto<int>
    {
        /// <summary>
        /// 编码
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 显示名称
        /// </summary>
        public string DisplayName { get; set; }
        
        /// <summary>
        /// 系统（不可删除）
        /// </summary>
        public bool IsStatic { get; set; }
    }
}
